Ext.define('Admin.view.etask.Detail', {
    extend: 'Admin.view.Detail',
    alias: 'widget.ETaskdetail',
    
    bind: {
    title: '用户 - 【{theObj.id}】'
    },
    
    componentCls: 'etask-detail',
    bodyPadding: 0,
    
    controller: 'detail',
    
    afterRender: function(ct, position) {
    this.callParent();
    },
    items: [{
    listeners: {
    render: function(p){
    p = p.getEl();
    var me= this.up();
    me.h0=p.getHeight();
    p.on('scroll', function(e, t){
    me.onscroll(t.scrollTop,t.clientHeight);
    }, p);
    }
    },
    title: 'Panel 0',
    flex: 2,
    frame: false,
    xtype: 'container',
    layout: 'anchor',
    style: {
    overflow: 'auto'
    },
    
    items: [
    {
    title : '详情',
    margin : '0 0 10 0',
    cls : 'nav_pos',
    reference : 'form',
    bodyPadding : 10,
    fieldDefaults : {
    labelAlign : 'right',
    labelWidth : 100,
    padding : 3
    },
    defaults : {
    anchor : '100%'
    },
    xtype: 'form',
    items: [
    
    {
        xtype: 'container',
        layout: 'hbox',
        defaultType: 'textfield',
        items:[
        {
        flex: 1,
        fieldLabel: 'description',
        bind: '{theObj.description}'
        },	{
        flex: 1,
        fieldLabel: 'title',
        bind: '{theObj.title}'
        }	]
    },
    {
        xtype: 'container',
        layout: 'hbox',
        defaultType: 'textfield',
        items:[
        {
        flex: 1,
        fieldLabel: 'uid',
        bind: '{theObj.uid}'
        }	]
    }]}]
     }]
    });